<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./CSS/reset.css">
    <link rel="stylesheet" href="./fa/css/all.css">
    <title>电影卡片练习</title>
    <style>
        .body{
            background-color:rgb(240,239,238);
        }
        .movie-card{
            width: 240px;
            background-repeat: no-repeat;
            margin:100px auto;
            box-shadow: 0 0 10px rgba(0,0,0,.3);
            border-radius: 10px;
        }
        .movie-card img{
            width: 240px;
            border-radius: 10px 10px 0 0;
        }
       .movie-card h1{
           color: rgb(113,113,112);
       }
       .introduce{
        margin: 10px;
       }
       .category{
           font-size: 12px;
           margin-top: 10px;
           color: rgb(178,178,178);
           margin-left: 5px;
       }
       .category span{
           margin-left: 6px;
       }
       .context{
           line-height: 20px;
           font-size: 14px;
           margin-left: 5px;
           margin-top: 12px;
           color: rgb(178,178,178);
       }
       .score{
        line-height: 50px;
        color: #DCDCDC;
        border-top: 1px solid #ddd;
       }
       .star{
        font-size: 14px;
        margin-left: 10px;
        float: left;
       }
       .facebook{
           float: right;
           margin-right: 30px;
           font-size: 20px;
       }
       .star .light{
           color: #B8CA40;
       }
       .clearfix::after,.clearfix::before{
           content: "";
           clear: both;
           display: table;
       }
    </style>
</head>
<body>
    <div class="movie-card clearfix">
        <img src="./imgs/马头.png" alt="">
        <div class="introduce">
            <h1>动画电影</h1>
            <div class="category">
                <i class="fas fa-map-marker-alt"></i><span>儿童动画</span>
            </div>
            <div class="context">
                这是一部非常不错的儿童动画，很值得推荐，有时间建议大家去看看。
            </div>
        </div>
        <div class="score">
            <div class="star">
                <i class="fas fa-star light"></i>
                <i class="fas fa-star light"></i>
                <i class="fas fa-star"></i>
                <i class="fas fa-star"></i>
            </div>
            <div class="facebook">
                <i class="fab fa-facebook"></i>
            </div>
        </div>
    </div>
</body>
</html>